<?php

namespace App\Model;

class UsersLineUpModel extends BaseModel
{
    protected $table = 'user_line_up';
    protected $primaryKey = 'id';

    protected $fillable = [
        'user_id',
        'order_id',
        'money',
        'money_now_price',
        'user_activity_id'
    ];
    public function userInfo(): \Illuminate\Database\Eloquent\Relations\HasOne
    {
        return $this->hasOne(UsersModel::class,'user_id','user_id');
    }
}
